﻿using System;
using Omu.ValueInjecter;

namespace MRGSP.SurveyMaster.Infra.ValueInjections
{
    public class LookupToByte : LoopValueInjection<object, byte>
    {
        protected override byte SetValue(object sourceValue)
        {
            return Convert.ToByte((((string[])sourceValue)[0]));
        }
    }
}